﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TpsAutoSurvey_PDA_Version_.Presenter;
using System.Collections;
using TpsAutoSurvey_PDA_Version_.RealizedClasses;

namespace TpsAutoSurvey_PDA_Version_
{
    public interface SurveyInterface
    {
        event EventHandler OnerrHappen;
        event EventHandler OnSurveyComplete;
        DataTransmission datatrans { get; set; }
        void StartTimer();
        void StopTimer();
        bool IsWorking { get; set; }


        Hashtable GetMethodList();

        CommandPara para { get; set; }

        [DescriptionAttribute("测量")]
        CommandPara StartSurvey(CommandPara p);
        void StartSurvey();


        [DescriptionAttribute("重置")]
        CommandPara PrepareStation(CommandPara p);
        void GetCurNo();
        void PrepareStation();

        [DescriptionAttribute("停止")]
        CommandPara StopSurvey(CommandPara p);
        void StopSurvey();

        [DescriptionAttribute("测试连接")]
        CommandPara IsTPSConnected(CommandPara p);

        [DescriptionAttribute("关机")]
        CommandPara ShutDown(CommandPara p);
        void ShutDown();



    }

}
